import request from '@/utils/request'

// 查询项目列表
export function listBizProject (query) {
  return request({
    url: '/biz/bizProject/list',
    method: 'get',
    params: query
  })
}
// 新增项目
export function addBizProject (data) {
  return request({
    url: '/biz/bizProject',
    method: 'post',
    data: data
  })
}

// 修改项目
export function updateBizProject (data) {
  return request({
    url: '/biz/bizProject',
    method: 'put',
    data: data
  })
}

// 删除项目
export function delBizProject (id) {
  return request({
    url: '/biz/bizProject/' + id,
    method: 'delete'
  })
}